<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 7/10/21
 * Time: 11:54 PM
 */

namespace app\api\validate\activity;


use LinCmsTp5\validate\BaseValidate;

class CheckGrActivity extends BaseValidate
{
    protected $rule = [
        'recommend' => 'require|in:0,1',
        'status' => 'require|in:2,3',
        'status_con' => 'max:255',
    ];

    protected $message = [
        'recommend' => '请选择正确的推荐首页状态',
        'status' => '请选择正确的审核状态',
        'status_con' => '不通过理由长度不超过255'
    ];
}